#
# json_parser.mk is a makefile snippet that defines the following variables:
# 

LV_LIB_JSON_PARSER_DIR_NAME ?= library/json-parser

JSON_PARSER_CFLAGS = -I$(LVGL_DIR)/$(LV_LIB_JSON_PARSER_DIR_NAME)

DEPPATH += --dep-path $(LVGL_DIR)/$(LV_LIB_JSON_PARSER_DIR_NAME)

VPATH += :$(LVGL_DIR)/$(LV_LIB_JSON_PARSER_DIR_NAME)

CFLAGS += $(JSON_PARSER_CFLAGS)/include

CSRCS += $(LV_LIB_JSON_PARSER_DIR_NAME)/src/jsmn_parser.c
CSRCS += $(LV_LIB_JSON_PARSER_DIR_NAME)/src/jsmn.c
